package com.atguigu.springcloud.service;

import org.springframework.stereotype.Component;

/**
 * @author : leimingchao
 * @date Date : 2022年02月13日 13:38
 */
@Component

public class PaymentFallbackService implements PaymentHystrixService {

    @Override
    public String paymentInfo_OK(Integer id) {
        return "-----PaymentFallbackService fall back paymentInfo_OK，o(╥﹏╥)o";
    }

    @Override
    public String paymentInfo_Timeout(Integer id) {
        return "----PaymentFallbackService fall back paymentInfo_Timeout，o(╥﹏╥)o";
    }
}
